/*
Copyright (C) 2009  Raymond Jeon
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/


#ifndef __GL_SMMP_RESPONSE_H__
#define __GL_SMMP_RESPONSE_H__




#define SMMP_RES_QUIT				"+OK Goodbye"
#define SMMP_OK_USERNAME			"+OK User name accepted, password please"
#define SMMP_OK_USERREADY			"+OK Ready, user login ok!"
#define SMMP_OK_ADMINREADY			"+OK Ready, admin login ok!"
#define SMMP_OK_CHID				"+OK Admin's ID was changed"
#define SMMP_OK_CHPW				"+OK Password was changed"
#define SMMP_OK_COMMAND				"+OK Command ok"

#define SMMP_ERR_UNREC_COMMAND		"-ERR unrecognized command"
#define SMMP_ERR_UNKNOWN_AUTH		"-ERR Unknown AUTHORIZATION state command"
#define SMMP_ERR_UNKNOWN_TRAN		"-ERR Unknown COMMAND state command"
#define SMMP_ERR_UNKNOWN_ADMIN		"-ERR Unknown ADMIN state command"
#define SMMP_ERR_UNKNOWN_USER		"-ERR Unknown USER state command"
#define SMMP_ERR_USER_NEED			"-ERR USER command must precede pass."
#define SMMP_ERR_USER_REFUSED		"-ERR User %s is connection refused..."
#define SMMP_ERR_ADMIN_WRONGPASS	"-ERR Admin is connection refused... (wrong password)"
#define SMMP_ERR_INPUT_ARG			"-ERR Input argument"
#define SMMP_ERR_INPUT_2ARG			"-ERR Input two arguments"
#define SMMP_ERR_TOOMANY_ARG		"-ERR Too many arguments"
#define SMMP_ERR_COMMAND			"-ERR Command error"
#define SMMP_ERR_COMMAND_LOCK		"-ERR Command error (file is locked)"
#define SMMP_ERR_COMMAND_FILE		"-ERR Command error (file error)"
#define SMMP_ERR_COMMAND_DUP		"-ERR Command error (duplicate data)"
#define SMMP_ERR_COMMAND_NOT		"-ERR Command error (can't find the data)"
#define SMMP_ERR_COMMAND_MEMORY		"-ERR Command error (memory error)"
#define SMMP_ERR_COMMAND_ARG		"-ERR Command error (argument error)"

#define SMMP_ERR_HELPUNKNOWN		"-ERR HELP topic unknown"


#define SMMP_RES_AUTHHELP			"\
+OK This is "GLSERVERVERSION"\r\n\
Topics:\r\n\
	USER     <userid>\r\n\
	ADMIN    <adminpassword>\r\n\
	PASS     <userpassword>\r\n\
For more info use \"HELP <topic>\".\r\n\
End of HELP info"

#define SMMP_RES_USERHELP			"\
+OK This is "GLSERVERVERSION"\r\n\
Topics:\r\n\
	NOOP\r\n\
	HELP\r\n\
	QUIT\r\n\
	SET PASS        <userpassword>\r\n\
	ADD SPAMFROM    <Spam filter>\r\n\
	ADD SPAMTO      <Spam filter>\r\n\
	ADD SPAMCC      <Spam filter>\r\n\
	ADD SPAMSUBJECT <Spam filter>\r\n\
	DEL SPAMFROM    <Spam filter>\r\n\
	DEL SPAMTO      <Spam filter>\r\n\
	DEL SPAMCC      <Spam filter>\r\n\
	DEL SPAMSUBJECT <Spam filter>\r\n\
For more info use \"HELP <topic>\".\r\n\
End of HELP info"

#define SMMP_RES_ADMINHELP			"\
+OK This is "GLSERVERVERSION"\r\n\
Topics:\r\n\
	NOOP                      \r\n\
	HELP                      [<topic>]\r\n\
	QUIT                      \r\n\
	SET USERPASS              <userid> <userpassword>\r\n\
	SET ADMINPASS             <adminpassword>\r\n\
	ADD USER                  <userid[|emailadress],username,mailspace,mailbox path>\r\n\
	DEL USER                  <userid> | <emailaddress>\r\n\
	VIEW CONFIG               \r\n\
	SET SERVERNAME            <Server host name>\r\n\
	SET MAILHOSTNAME          <Mail host name>\r\n\
	SET POSTMASTER            <Postmaster's mail address>\r\n\
	SET LOGEXPIRE             <Days>\r\n\
	SET LOGVERBOS             <Log verbos mode>\r\n\
	SET LOGMERGE              <Log merge mode>\r\n\
	SET STATEXPIRE            <Days>\r\n\
	SET ORPHANMAILEXPIRE      <Days>\r\n\
	SET MAXMAILSIZE           <Maximum recieve mail size>\r\n\
	SET SMTPMINTHREAD         <Thread number>\r\n\
	SET SMTPMAXTHREAD         <Thread number>\r\n\
	SET POP3MINTHREAD         <Thread number>\r\n\
	SET POP3MAXTHREAD         <Thread number>\r\n\
	SET SMMPMINTHREAD         <Thread number>\r\n\
	SET SMMPMAXTHREAD         <Thread number>\r\n\
	SET MTAMINTHREAD          <Thread number>\r\n\
	SET MTAMAXTHREAD          <Thread number>\r\n\
	SET SPOOLINGINTERVAL      <Interval of spooling>\r\n\
	SET MAXSPOOLING           <Count>\r\n\
	SET MAXSPOOLINGRETURNMAIL <Count>\r\n\
	SET REJECTRELAY           <Relay reject mode>\r\n\
	SET TIMEZONE              <Time zone>\r\n\
	VIEW STREAM               \r\n\
	VIEW THREAD               \r\n\
	VIEW SPAMFROM             \r\n\
	VIEW SPAMTO               \r\n\
	VIEW SPAMCC               \r\n\
	VIEW SPAMSUBJECT          \r\n\
	ADD SPAMFROM              <Spam filter>\r\n\
	ADD SPAMTO                <Spam filter>\r\n\
	ADD SPAMCC                <Spam filter>\r\n\
	ADD SPAMSUBJECT           <Spam filter>\r\n\
	DEL SPAMFROM              <Spam filter>\r\n\
	DEL SPAMTO                <Spam filter>\r\n\
	DEL SPAMCC                <Spam filter>\r\n\
	DEL SPAMSUBJECT           <Spam filter>\r\n""\
	VIEW RELAYIP              \r\n\
	VIEW REJECTIPSMTP         \r\n\
	VIEW REJECTIPPOP3         \r\n\
	VIEW REJECTIPSMMP         \r\n\
	VIEW ALLOWIPSMTP          \r\n\
	VIEW ALLOWIPPOP3          \r\n\
	VIEW ALLOWIPSMMP          \r\n\
	ADD RELAYIP               <IP address>\r\n\
	ADD REJECTIPSMTP          <IP address>\r\n\
	ADD REJECTIPPOP3          <IP address>\r\n\
	ADD REJECTIPSMMP          <IP address>\r\n\
	ADD ALLOWIPSMTP           <IP address>\r\n\
	ADD ALLOWIPPOP3           <IP address>\r\n\
	ADD ALLOWIPSMMP           <IP address>\r\n\
	DEL RELAYIP               <IP address>\r\n\
	DEL REJECTIPSMTP          <IP address>\r\n\
	DEL REJECTIPPOP3          <IP address>\r\n\
	DEL REJECTIPSMMP          <IP address>\r\n\
	DEL ALLOWIPSMTP           <IP address>\r\n\
	DEL ALLOWIPPOP3           <IP address>\r\n\
	DEL ALLOWIPSMMP           <IP address>\r\n\
	VIEW DNSSERVER            \r\n\
	ADD DNSSERVER             <DNS server>\r\n\
	DEL DNSSERVER             <DNS server>\r\n\
	VIEW ALIAS                \r\n\
	ADD ALIAS                 <Alias>\r\n\
	DEL ALIAS                 <Alias>\r\n\
	VIEW MAILLIST             [wildcard]\r\n\
	ADD MAILLIST              <maillist name>\r\n\
	DEL MAILLIST              <maillist name>\r\n\
	ADD MAILLISTMEMBER        <maillist name> <email address>\r\n\
	DEL MAILLISTMEMBER        <maillist name> <email address>\r\n\
For more info use \"HELP <topic>\".\r\n\
End of HELP info"

/*
	ADD ALIASMEMBER           <Alias member>\r\n\
	DEL ALIASMEMBER           <Alias member>\r\n\
*/


#define SMMP_RES_HELP_USER				"\
+OK USER <userid>\r\n\
<userid> id : if you are a master domain user.\r\n\
<userid> id@hostname : if you are a virtual host user.\r\n\
You can change this on \"mail.cf\" file\r\n\
End of HELP info"

#define SMMP_RES_HELP_PASS				"\
+OK PASS <userpassword>\r\n\
If you are an administrator, input admin's password.\r\n\
You can change this on \"mail.cf\" file\r\n\
End of HELP info"

#define SMMP_RES_HELP_ADMIN				"\
+OK ADMIN <adminpassword>\r\n\
If you are an administrator, input admin's password.\r\n\
You can change this on \"mail.cf\" file\r\n\
End of HELP info"

#define SMMP_RES_HELP_NOOP				"\
+OK NOOP\r\n\
Do nothing.\r\n\
End of HELP info"

#define SMMP_RES_HELP_HELP				"\
+OK HELP [<topic>]\r\n\
The HELP command gives help info.\r\n\
End of HELP info"

#define SMMP_RES_HELP_QUIT				"\
+OK QUIT\r\n\
Exit smmp.\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETADMINPass		"\
+OK SET ADMINPASS <adminpassword>\r\n\
Change admin password.\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETUSERPASS		"\
+OK SET USERPASS <userid> <userpassword>\r\n\
Change user password.\r\n\
End of HELP info"

#define SMMP_RES_HELP_ADDUSER			"\
+OK ADD USER <userid[|emailadress],username,mailspace,mailbox path>\r\n\
Add user.\r\n\
If you want add vitual host user, use emailaddress.\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELUSER			"\
+OK DEL USER <userid> | <emailaddress>\r\n\
Delete user.\r\n\
If you want delete vitual host user, use emailaddress.\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETPASS			"\
+OK SET PASS <userpassword>\r\n\
Change user password.\r\n\
End of HELP info"

#define SMMP_RES_HELP_ADDSPAMFROM		"\
+OK ADD SPAMFROM <Spam filter>\r\n\
Add \"From\" keyword spam filter.\r\n\
If you are admin, all user are affected by this filter. \r\n\
The format of spam filter is wildcard that string contains '?' and '*'\r\n\
End of HELP info"

#define SMMP_RES_HELP_ADDSPAMTO			"\
+OK ADD SPAMTO <Spam filter>\r\n\
Add \"To\" keyword spam filter.\r\n\
If you are admin, all user are affected by this filter. \r\n\
The format of spam filter is wildcard that string contains '?' and '*'\r\n\
End of HELP info"

#define SMMP_RES_HELP_ADDSPAMCC			"\
+OK ADD SPAMCC <Spam filter>\r\n\
Add \"Cc\" keyword spam filter.\r\n\
If you are admin, all user are affected by this filter. \r\n\
The format of spam filter is wildcard that string contains '?' and '*'\r\n\
End of HELP info"

#define SMMP_RES_HELP_ADDSPAMSUBJECT	"\
+OK ADD SPAMSUBJECT <Spam filter>\r\n\
Add \"Subject\" keyword spam filter.\r\n\
If you are admin, all user are affected by this filter. \r\n\
The format of spam filter is wildcard that string contains '?' and '*'\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELSPAMFROM		"\
+OK DEL SPAMFROM <Spam filter>\r\n\
Delete \"From\" keyword spam filter.\r\n\
If you are admin, all user are affected by this filter. \r\n\
The format of spam filter is wildcard that string contains '?' and '*'\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELSPAMTO			"\
+OK DEL SPAMTO <Spam filter>\r\n\
Delete \"To\" keyword spam filter.\r\n\
If you are admin, all user are affected by this filter. \r\n\
The format of spam filter is wildcard that string contains '?' and '*'\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELSPAMCC			"\
+OK DEL SPAMCC <Spam filter>\r\n\
Delete \"Cc\" keyword spam filter.\r\n\
If you are admin, all user are affected by this filter. \r\n\
The format of spam filter is wildcard that string contains '?' and '*'\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELSPAMSUBJECT	"\
+OK DEL SPAMSUBJECT <Spam filter>\r\n\
Delete \"Subject\" keyword spam filter.\r\n\
If you are admin, all user are affected by this filter. \r\n\
The format of spam filter is wildcard that string contains '?' and '*'\r\n\
End of HELP info"

#define SMMP_RES_HELP_VIEWSPAMFROM		"\
+OK VIEW SPAMFROM <Spam filter>\r\n\
View \"From\" keyword spam filter.\r\n\
End of HELP info"

#define SMMP_RES_HELP_VIEWSPAMTO			"\
+OK VIEW SPAMTO <Spam filter>\r\n\
View \"To\" keyword spam filter.\r\n\
End of HELP info"

#define SMMP_RES_HELP_VIEWSPAMCC			"\
+OK VIEW SPAMCC <Spam filter>\r\n\
View \"Cc\" keyword spam filter.\r\n\
End of HELP info"

#define SMMP_RES_HELP_VIEWSPAMSUBJECT	"\
+OK VIEW SPAMSUBJECT <Spam filter>\r\n\
View \"Subject\" keyword spam filter.\r\n\
End of HELP info"

#define SMMP_RES_HELP_VIEWSTREAM			"\
+OK VIEW STREAM \r\n\
Monitor socket stream sending and receiving per minute\r\n\
End of HELP info"

#define SMMP_RES_HELP_VIEWTHREAD			"\
+OK VIEW THREAD \r\n\
Monitor thread status\r\n\
End of HELP info"

#define SMMP_RES_HELP_VIEWCONFIG			"\
+OK VIEW CONFIG \r\n\
View basic configuration\r\n\
End of HELP info"









#define SMMP_RES_HELP_SETSERVERNAME		"\
+OK SET SERVERNAME <Server host name>\r\n\
Server host name.\r\n\
ex) www.company.com\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETMAILHOSTNAME		"\
+OK SET MAILHOSTNAME <Mail host name>\r\n\
Mail host name.\r\n\
ex) company.com\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETPOSTMASTER	"\
+OK SET POSTMASTER <Postmaster's mail address emailaddress>\r\n\
ex) postmaster@company.com\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETLOGEXPIRE		"\
+OK SET LOGEXPIRE <Days>\r\n\
Logfile expire days.(0 ~ 1000)\r\n\
'0' means no deletion\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETLOGVERBOS		"\
+OK SET LOGVERBOS <Log verbos mode{on|off}>\r\n\
Log file verbos mode.\r\n\
\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETLOGMERGE		"\
+OK SET LOGMERGE <Log merge mode{on|off}>\r\n\
Log file merge mode.\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETSTATEXPIRE	"\
+OK SET STATEXPIRE <Days>\r\n\
Statistics file expire days.(0 ~ 1000)\r\n\
'0' means no deletion\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETORPHANMAILEXPIRE	"\
+OK SET ORPHANMAILEXPIRE <Days>\r\n\
Orphan mail expire days.(0 ~ 1000)\r\n\
'0' means no deletion\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETMAXMAILSIZE	"\
+OK SET MAXMAILSIZE <Maximum recieve mail size{bytes}>\r\n\
Maximum size of receive mail.\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETSMTPMINTHREAD	"\
+OK SET SMTPMINTHREAD <Thread number>\r\n\
Minumum SMTP thread (2 ~ 1000)\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETSMTPMAXTHREAD	"\
+OK SET SMTPMAXTHREAD <Thread number>\r\n\
Maximum SMTP thread (2 ~ 1000)\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETPOP3MINTHREAD	"\
+OK SET POP3MINTHREAD <Thread number>\r\n\
Minumum POP3 thread (2 ~ 1000)\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETPOP3MAXTHREAD	"\
+OK SET POP3MAXTHREAD <Thread number>\r\n\
Maximum POP3 thread (2 ~ 1000)\r\n\\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETSMMPMINTHREAD	"\
+OK SET SMMPMINTHREAD <Thread number>\r\n\
Minumum SMMP thread (2 ~ 1000)\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETSMMPMAXTHREAD	"\
+OK SET SMMPMAXTHREAD <Thread number>\r\n\
Maximum SMMP thread (2 ~ 1000)\r\n\\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETMTAMINTHREAD	"\
+OK SET MTAMINTHREAD <Thread number>\r\n\
Minimum MTA thread (2 ~ 1000)\r\n\\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETMTAMAXTHREAD	"\
+OK SET MTAMAXTHREAD <Thread number>\r\n\
Maximum MTA thread (2 ~ 1000)\r\n\\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETSPOOLINGINTERVAL	"\
+OK SET SPOOLINGINTERVAL <Interval of spooling{minutes}>\r\n\
Mail spooling interval (1 ~ 1440)\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETMAXSPOOLING	"\
+OK SET MAXSPOOLING <Maximum try of spooling>\r\n\
Maximum times of mail spooling (1 ~ 100)\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETMAXSPOOLINGRETURNMAIL	"\
+OK SET MAXSPOOLINGRETURNMAIL <Count>\r\n\
Maximum times of return mail spooling (1 ~ 100)\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETREJECTRELAY	"\
+OK SET REJECTRELAY <Relay reject mode{on|off}>\r\n\
Reject relay mode.\r\n\
End of HELP info"

#define SMMP_RES_HELP_SETTIMEZONE		"\
+OK SET TIMEZONE <Time zone>\r\n\
Timezone.\r\n\
ex) +0900\r\n\
End of HELP info"











#define SMMP_RES_HELP_VIEWRELAYIP		"\
+OK VIEW RELAYIP \r\n\
View relay allowed ip address.\r\n\
End of HELP info"

#define SMMP_RES_HELP_VIEWREJECTIPSMTP	"\
+OK VIEW REJECTIPSMTP \r\n\
View ip address that rejected connect to SMTP server.\r\n\
End of HELP info"

#define SMMP_RES_HELP_VIEWREJECTIPPOP3	"\
+OK VIEW REJECTIPPOP3 \r\n\
View ip address that rejected connect to POP3 server.\r\n\
End of HELP info"

#define SMMP_RES_HELP_VIEWREJECTIPSMMP	"\
+OK VIEW REJECTIPSMMP \r\n\
View ip address that rejected connect to SMMP server.\r\n\
End of HELP info"

#define SMMP_RES_HELP_VIEWALLOWIPSMTP	"\
+OK VIEW ALLOWIPSMTP \r\n\
View ip address that allowed connect to SMTP server.\r\n\
End of HELP info"

#define SMMP_RES_HELP_VIEWALLOWIPPOP3			"\
+OK VIEW ALLOWIPPOP3 \r\n\
View ip address that allowed connect to POP3 server.\r\n\
End of HELP info"

#define SMMP_RES_HELP_VIEWALLOWIPSMMP			"\
+OK VIEW ALLOWIPSMMP \r\n\
View ip address that allowed connect to SMMP server.\r\n\
End of HELP info"

#define SMMP_RES_HELP_VIEWDNSSERVER				"\
+OK VIEW DNSSERVER \r\n\
View DNS server that used by mail server.\r\n\
End of HELP info"

#define SMMP_RES_HELP_VIEWALIAS				"\
+OK VIEW ALIAS\r\n\
View mail alias setting.\r\n\
End of HELP info"





#define SMMP_RES_HELP_ADDRELAYIP		"\
+OK ADD RELAYIP <IP address>\r\n\
Add relay allowed ip address.\r\n\
ex) 100.100.100.100\r\n\
    100.100.100.*\r\n\
    100.100.*.*\r\n\
    100.*\r\n\
    *\r\n\
    100.100.100.1??\r\n\
    100.100.100.100~200\r\n\
End of HELP info"

#define SMMP_RES_HELP_ADDREJECTIPSMTP	"\
+OK ADD REJECTIPSMTP <IP address> \r\n\
Add ip address that rejected connect to SMTP server.\r\n\
ex) 100.100.100.100\r\n\
    100.100.100.*\r\n\
    100.100.*.*\r\n\
    100.*\r\n\
    *\r\n\
    100.100.100.1??\r\n\
    100.100.100.100~200\r\n\
End of HELP info"

#define SMMP_RES_HELP_ADDREJECTIPPOP3	"\
+OK ADD REJECTIPPOP3 <IP address> \r\n\
Add ip address that rejected connect to POP3 server.\r\n\
ex) 100.100.100.100\r\n\
    100.100.100.*\r\n\
    100.100.*.*\r\n\
    100.*\r\n\
    *\r\n\
    100.100.100.1??\r\n\
    100.100.100.100~200\r\n\
End of HELP info"

#define SMMP_RES_HELP_ADDREJECTIPSMMP	"\
+OK ADD REJECTIPSMMP <IP address> \r\n\
Add ip address that rejected connect to SMMP server.\r\n\
ex) 100.100.100.100\r\n\
    100.100.100.*\r\n\
    100.100.*.*\r\n\
    100.*\r\n\
    *\r\n\
    100.100.100.1??\r\n\
    100.100.100.100~200\r\n\
End of HELP info"

#define SMMP_RES_HELP_ADDALLOWIPSMTP	"\
+OK ADD ALLOWIPSMTP <IP address> \r\n\
Add ip address that allowed connect to SMTP server.\r\n\
ex) 100.100.100.100\r\n\
    100.100.100.*\r\n\
    100.100.*.*\r\n\
    100.*\r\n\
    *\r\n\
    100.100.100.1??\r\n\
    100.100.100.100~200\r\n\
End of HELP info"

#define SMMP_RES_HELP_ADDALLOWIPPOP3			"\
+OK ADD ALLOWIPPOP3 <IP address> \r\n\
Add ip address that allowed connect to POP3 server.\r\n\
ex) 100.100.100.100\r\n\
    100.100.100.*\r\n\
    100.100.*.*\r\n\
    100.*\r\n\
    *\r\n\
    100.100.100.1??\r\n\
    100.100.100.100~200\r\n\
End of HELP info"

#define SMMP_RES_HELP_ADDALLOWIPSMMP			"\
+OK ADD ALLOWIPSMMP <IP address> \r\n\
Add ip address that allowed connect to SMMP server.\r\n\
ex) 100.100.100.100\r\n\
    100.100.100.*\r\n\
    100.100.*.*\r\n\
    100.*\r\n\
    *\r\n\
    100.100.100.1??\r\n\
    100.100.100.100~200\r\n\
End of HELP info"

#define SMMP_RES_HELP_ADDDNSSERVER				"\
+OK ADD DNSSERVER <IP address> | <Host name> \r\n\
Add DNS server that used by mail server.\r\n\
ex) 100.100.100.100 \r\n\
    ns.company.com \r\n\
End of HELP info"

#define SMMP_RES_HELP_ADDALIAS				"\
+OK ADD ALIAS <Alias data> \r\n\
Add mail alias.\r\n\
ex) root : john@abc.com, tom@abc.com \r\n\
    test : test1@abc.com, test2@abc.com, test3@abc.com, test4@abc.com\r\n\
    webmaster@abc.com : john@abc.com, john@yahoo.com\r\n\
End of HELP info"

#define SMMP_RES_HELP_ADDALIASMEMBER				"\
+OK ADD ALIASMEMBER <Alias name> <User id> | <E-mail address>\r\n\
Add mail alias member.\r\n\
End of HELP info"






#define SMMP_RES_HELP_DELRELAYIP		"\
+OK DEL RELAYIP <IP address> \r\n\
Delete relay allowed ip address.\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELREJECTIPSMTP	"\
+OK DEL REJECTIPSMTP <IP address> \r\n\
Delete ip address that rejected connect to SMTP server.\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELREJECTIPPOP3	"\
+OK DEL REJECTIPPOP3 <IP address> \r\n\
Delete ip address that rejected connect to POP3 server.\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELREJECTIPSMMP	"\
+OK DEL REJECTIPSMMP <IP address> \r\n\
Delete ip address that rejected connect to SMMP server.\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELALLOWIPSMTP	"\
+OK DEL ALLOWIPSMTP <IP address> \r\n\
Delete ip address that allowed connect to SMTP server.\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELALLOWIPPOP3			"\
+OK DEL ALLOWIPPOP3 <IP address> \r\n\
Delete ip address that allowed connect to POP3 server.\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELALLOWIPSMMP			"\
+OK DEL ALLOWIPSMMP <IP address> \r\n\
Delete ip address that allowed connect to SMMP server.\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELDNSSERVER				"\
+OK DEL DNSSERVER <IP address> | <Host name> \r\n\
Delete DNS server that used by mail server.\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELALIAS				"\
+OK DEL ALIAS <Alias name> \r\n\
Delete mail alias setting.\r\n\
ex) root\r\n\
    test\r\n\
    webmaster@abc.com\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELALIASMEMBER				"\
+OK DEL ALIASMEMBER <Alias name> <User id> | <E-mail address> \r\n\
Delete mail alias member.\r\n\
End of HELP info"


#define SMMP_RES_HELP_VIEWMAILLIST				"\
+OK VIEW MAILLIST [wildcard]\r\n\
View list of mailling list.\r\n\
End of HELP info"

#define SMMP_RES_HELP_ADDMAILLIST				"\
+OK ADD MAILLIST <maillist name>\r\n\
Add mailling list.\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELMAILLIST				"\
+OK DEL MAILLIST <maillist name>\r\n\
Delete mailling list.\r\n\
End of HELP info"


#define SMMP_RES_HELP_ADDMAILLISTMEMBER				"\
+OK ADD MAILLISTMEMBER <maillist name> <email address>\r\n\
Add member to mailling list.\r\n\
End of HELP info"

#define SMMP_RES_HELP_DELMAILLISTMEMBER				"\
+OK DEL MAILLISTMEMBER <maillist name> <email address>\r\n\
Delete member from mailling list.\r\n\
End of HELP info"


#endif	// __GL_SMMP_RESPONSE_H__

